-ifndef(_EMC_HRL).
-define(_EMC_HRL, true).

-define(INFO(Source, Message), emc.util.logger:log(Source, info, Message)).
-define(WARNING(Source, Message), emc.util.logger:log(Source, warning, Message)).
-define(ERROR(Source, Message), emc.util.logger:log(Source, error, Message)).
-define(DEBUG(Source, Message), emc.util.logger:log(Source, debug, Message)).
%-define(DEBUG(Msg, Params), $%).

-record(event, { timestamp,
		 pid,
		 source,
		 type,
		 data }).

-endif.
